package com.pxmeta.user.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author wcl
 * @since 2022-07-03
 */
@Data
@TableName("kt_user_student")
@ApiModel(value = "UserStudent对象", description = "")
public class UserStudent implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("用户id")
    @TableId(type = IdType.ASSIGN_ID)
    private Long userId;

    @ApiModelProperty("大学名称")
    private String university;

    @ApiModelProperty("入学方式")
    private String department;

    @ApiModelProperty("专业")
    private String domain;

    @ApiModelProperty("学历")
    private String level;

    @ApiModelProperty("班级")
    private String stuClass;

    @ApiModelProperty("学号")
    private String stuNum;

    @ApiModelProperty("是否全日制")
    private Integer isFullTime;

    @ApiModelProperty("状态：0未毕业：1已毕业")
    private Integer status;

    @ApiModelProperty("创建时间")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @ApiModelProperty("更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

}
